<?php	$atr=array(
					"name"=>"role",
					"onsubmit"=>"return checkRole()"
				  ); 
	echo form_open('role/edit1',$atr);
	$bar="Role Edit"; 
?> 

<table id="box-table-a" cellspacing="1" align="right" width="900px">
	<tr>
		<td colspan=7 align=right class=bar><?php echo $bar;?></td>
	</tr>
	<tr>
		<th>ID</th>
		<th>email </th>
		<th>password</th>
		<th>FullName</th>
		<th>Roles</th>
		<th>Action</th>
	</tr>
	<tr>
		<td><input type="text" name ="ID" readonly="readonly" value=<?php echo $result->ID; ?> size="10"></td>
		<td><input type="text" name ="email" readonly="readonly" value="<?php echo $result->email; ?>"></td>
   		<td><input type= "password" name ="password" readonly="readonly" value="<?php echo $result->password; ?>"></td>
   		<td><input type="text" name ="FullName" value="<?php echo $result->FullName; ?>"></td>
   		<td><?php echo form_dropdown('roles', $role,$result->roles );?></td>   			
   		<td align="center"><input type="submit" id="submit" value="edit"/> </td>
	</tr>
</table>
